<?php

// Bend SFC to your will!

define('APP_NAME', 'Small Frame Code');
define('LAYOUT', 'default');
define('LANGUAGE', 'en-us');
define('CHARSET', 'utf-8');

define('DB_HOST', 'localhost');
define('DB_USER', 'iplanesd_sfc');
define('DB_PASS', 'sfc3bm');
define('DB_DB', 'iplanesd_sfc');
define('DB_DRIVER', 'mysqli');

// Advanced Stuff :)

define('DEFAULT_LAYOUT', 'index');

date_default_timezone_set( 'GMT' );

define('EXT', '.php');
define('DS', DIRECTORY_SEPARATOR);

define('DIR_BASE', realpath(dirname(__FILE__)) . DS);

define('DIR_SFC', DIR_BASE . DS . 'sfc' . DS);
define('DIR_CLASSES', DIR_SFC . 'classes' . DS);
define('DIR_LANGUAGES', DIR_SFC . 'languages' . DS);

define('DIR_APP', DIR_BASE . 'app' . DS);
define('DIR_CONTROLLERS', DIR_APP . 'controllers' . DS);
define('DIR_LAYOUTS', DIR_APP . 'layouts' . DS);

define('DIR_LAYOUT_PATH', DIR_LAYOUTS . LAYOUT . DS);

define('URL', 'http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['SCRIPT_NAME']));


?>